AllocationArrayEnumerator

Ecng.Common.AllocationArray`1

Enumerator for the AllocationArray.

Implements: IEnumerator<T>, IEnumerator, IDisposable

Constructors

AllocationArrayEnumerator
public AllocationArrayEnumerator(AllocationArray<T> parent)
allocationArrayEnumerator = AllocationArrayEnumerator(parent)

Enumerator for the AllocationArray.

Properties

System#Collections#Generic#IEnumerator{T}#Current

Gets the current element in the array.

System#Collections#IEnumerator#Current

Gets the current element in the array.

Methods

System#Collections#IEnumerator#MoveNext()

Advances the enumerator to the next element.

Returns: true if the enumerator was successfully advanced; otherwise, false.

System#Collections#IEnumerator#Reset()

Resets the enumerator to its initial position.

System#IDisposable#Dispose()

Releases resources used by the enumerator.